package com.shop.bean;

public class User {
    private Integer id;
    private String name;
    private String password;
    private String realName;
    private Integer age;
    private String profession;
    private String email;
    private String question;
    private String result;

    public User() {
    }

    public User(Integer id, String name, String password, String realName, Integer age, String profession, String email, String question, String result) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.realName = realName;
        this.age = age;
        this.profession = profession;
        this.email = email;
        this.question = question;
        this.result = result;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", age=" + age +
                ", profession='" + profession + '\'' +
                ", email='" + email + '\'' +
                ", question='" + question + '\'' +
                ", result='" + result + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
